/**
 * 文件描述如下：
 * 1. conditionMonitoring的路由
 * 2.
 * 3.
 * 4.
 */
export default [
  {
    path: '/conditionMonitoring',
    name: 'conditionMonitoring', // 状态监控
    redirect: '/conditionMonitoring/equipment', // 默认重定向到 equipment 子路由
    component: () => import('../views/ConditionMonitoring/ConditionMonitoring.vue'),
    children: [
      {
        path: 'equipment',
        name: 'equipment',
        component: () => import('../views/ConditionMonitoring/views/Equipment.vue'), // 子组件
      },
      {
        path: 'software',
        name: 'software',
        component: () => import('../views/ConditionMonitoring/views/Software.vue'), // 子组件
      },
      {
        path: 'perception',
        name: 'perception',
        component: () => import('../views/ConditionMonitoring/views/Perception.vue'), // 子组件
      },
      {
        path: 'ptp',
        name: 'ptp',
        component: () => import('../views/ConditionMonitoring/views/Ptp.vue'), // 子组件
      },
      {
        path: 'component',
        name: 'component',
        component: () => import('../views/ConditionMonitoring/views/Component.vue'), // 子组件
      },
    ],
  },
]
